<!doctype html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <h1>添加请假记录</h1>
    <form action="/leaverecords/save" th:action="@{/leaverecords/save}" method="post">
        <div>
            姓名：<input type="text" name="name" id="name"/>
        </div>
        <div>
            请假时间：<input type="text" name="leaveTime" id="leaveTime"/>
        </div>
        <div>
            请假原因：<textarea cols="20" rows="10" name="reason" id="reason"></textarea>
        </div>
        <div>
            <input type="submit" value="提交"/>
            <input type="reset" value="清空"/>
        </div>
    </form>
</body>
</html>